**Readme for replication materials**
**To Stay or Not to Stay: Patent Litigation in the Federal District Courts**
**Journal of Law & Courts**

-To replicate the analyses in the article load the dataset (stay or not stay rep data.dta). Next load the "jlc_replication" .do file and execute, which will produce the models described in Table 1, Table 2, & Table 3 in article, as well as those in the appendix. 

-Figures are created using the margins and marginsplot commands in Stata. As an example, the following command language can be used to replicate Figure 2:

1. Estimate model 3 in the article.
2. Execute the margins command:  margins, at(judge_ideo=(-.45 (.1) .525) duplicate=(0 1))
3. Plot the results: marginsplot

A similar pattern can be followed to replicate the other figures in the article. 

